package com.iuweb.login.service.impl;

import com.iuweb.login.mapper.LoginMapper;
import com.iuweb.login.model.User;
import com.iuweb.login.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ruiwu
 * @version V1.0
 * @Description:
 */
@Service
public class LoginServiceImpl implements LoginService {

   @Autowired
   private LoginMapper loginMapper;

    public User findUserByUsername(String username) {
        return loginMapper.findUserByUsername(username);
    }
}
